package com.javaxiaobear.module.system.domain;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.Data;

/**
 * 用户和角色关联 sys_user_role
 *
 * @author javaxiaobear
 */
@Table(value = "sys_user_role")
@Data
public class SysUserRole {
  /** 用户ID */
  @Id
  @Column(value = "user_id")
  private Long userId;

  /** 角色ID */
  @Id
  @Column(value = "role_id")
  private Long roleId;
}
